#pragma once
#define DLLEXP __declspec(dllexport)


#define COLOR_TYPE WORD

#define ADD_VECTOR_END(v,i) (v).push_back((i))

#define	MSGHUB_LOG(src, ...) CLogger::Ins()->log(CLogger::_LOG_,src,__VA_ARGS__);
#define	MSGHUB_WARNING(src, ...) CLogger::Ins()->log(CLogger::_WARNING_,__FILE__, __LINE__, __FUNCTION__,src,__VA_ARGS__);
#define	MSGHUB_DEBUG(src, ...) CLogger::Ins()->log(CLogger::_DEBUG_,__FILE__, __LINE__, __FUNCTION__,src,__VA_ARGS__);
#define	MSGHUB_ERROR(src, ...) CLogger::Ins()->log(CLogger::_ERROR_,__FILE__, __LINE__, __FUNCTION__,src,__VA_ARGS__);